From d17ac42f37e197d26cb42a00a0d5834ce107515b Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Thu, 19 Jul 2007 10:59:05 +0100 Subject: [PATCH] vmx: Save host MSR state for SYSCALLs on all CPUs. Signed-off-by: Keir Fraser --- xen/arch/x86/hvm/vmx/vmx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/hvm/vmx/vmx.c b/xen/arch/x86/hvm/vmx/vmx.c index 519d01879e..928c4faff1 100644 --- a/xen/arch/x86/hvm/vmx/vmx.c +++ b/xen/arch/x86/hvm/vmx/vmx.c @@ -1270,6 +1270,8 @@ void start_vmx(void) { static int bootstrapped; + vmx_save_host_msrs(); + if ( bootstrapped ) { if ( hvm_enabled && !vmx_cpu_up() ) @@ -1299,8 +1301,6 @@ void start_vmx(void) setup_vmcs_dump(); - vmx_save_host_msrs(); - hvm_enable(&vmx_function_table); if ( cpu_has_vmx_msr_bitmap ) -- 2.30.2